﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSorganizationTreeNode" targetNamespace="http://tempuri.org/DSorganizationTreeNode.xsd" xmlns:mstns="http://tempuri.org/DSorganizationTreeNode.xsd" xmlns="http://tempuri.org/DSorganizationTreeNode.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="MCMLXVIIConnection" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Public" Name="MCMLXVIIConnection (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MCMLXVII.BackEnd.Data.OrganizationChart.Properties.Settings.0.Value.MCMLXVIIConnection" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSorganizationTreeNode" msdata:IsDataSet="true" msdata:Locale="en-US" msdata:EnforceConstraints="False" msprop:Generator_UserDSName="DSorganizationTreeNode" msprop:Generator_DataSetName="DSorganizationTreeNode" msprop:User_DataSetName="DSorganizationTreeNode" msprop:DSGenerator_DataSetName="DSorganizationTreeNode">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="OrganizationTree" msdata:Locale="es-UY" msprop:Generator_SuspendValidationVarName="m_suspendValidation" msprop:Generator_RowDeletedName="OrganizationTreeRowDeleted" msprop:Generator_SuspendValidationPropName="SuspendValidation" msprop:Generator_RowChangedName="OrganizationTreeRowChanged" msprop:User_TableName="OrganizationTree" msprop:Generator_RowClassName="OrganizationTreeRow" msprop:Generator_RowChangingName="OrganizationTreeRowChanging" msprop:Generator_UserTableName="OrganizationTree" msprop:Generator_RowEvArgName="OrganizationTreeRowChangeEvent" msprop:Generator_RowEvHandlerName="OrganizationTreeRowChangeEventHandler" msprop:Generator_TableClassName="OrganizationTreeDataTable" msprop:Generator_TableVarName="tableOrganizationTree" msprop:Generator_RowDeletingName="OrganizationTreeRowDeleting" msprop:Generator_TablePropName="OrganizationTree">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_DelegateName="NodeIDChangeEventHandler" msprop:Generator_ChangingEventName="NodeIDChanging" msprop:Generator_ColumnVarNameInTable="columnNodeID" msprop:Generator_EventArgName="NodeIDChangeEventArg" msprop:User_ColumnName="NodeID" msprop:Generator_ColumnPropNameInRow="NodeID" msprop:Generator_ChangedEventName="NodeIDChanged" msprop:Generator_ColumnPropNameInTable="NodeIDColumn" msprop:Generator_UserColumnName="NodeID" type="xs:int" />
              <xs:element name="Name" msprop:Generator_DelegateName="NameChangeEventHandler" msprop:Generator_ChangingEventName="NameChanging" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_EventArgName="NameChangeEventArg" msprop:User_ColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ChangedEventName="NameChanged" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FatherNodeID" msprop:Generator_DelegateName="FatherNodeIDChangeEventHandler" msprop:Generator_ChangingEventName="FatherNodeIDChanging" msprop:Generator_ColumnVarNameInTable="columnFatherNodeID" msprop:Generator_EventArgName="FatherNodeIDChangeEventArg" msprop:User_ColumnName="FatherNodeID" msprop:Generator_ColumnPropNameInRow="FatherNodeID" msprop:Generator_ChangedEventName="FatherNodeIDChanged" msprop:Generator_ColumnPropNameInTable="FatherNodeIDColumn" msprop:Generator_UserColumnName="FatherNodeID" type="xs:int" minOccurs="0" />
              <xs:element name="OwnerID" msprop:Generator_DelegateName="OwnerIDChangeEventHandler" msprop:Generator_ChangingEventName="OwnerIDChanging" msprop:Generator_ColumnVarNameInTable="columnOwnerID" msprop:Generator_EventArgName="OwnerIDChangeEventArg" msprop:User_ColumnName="OwnerID" msprop:Generator_ColumnPropNameInRow="OwnerID" msprop:Generator_ChangedEventName="OwnerIDChanged" msprop:Generator_ColumnPropNameInTable="OwnerIDColumn" msprop:Generator_UserColumnName="OwnerID" type="xs:int" minOccurs="0" />
              <xs:element name="DirectoryServiceConfigInfo" msprop:Generator_DelegateName="DirectoryServiceConfigInfoChangeEventHandler" msprop:Generator_ChangingEventName="DirectoryServiceConfigInfoChanging" msprop:Generator_ColumnVarNameInTable="columnDirectoryServiceConfigInfo" msprop:Generator_EventArgName="DirectoryServiceConfigInfoChangeEventArg" msprop:User_ColumnName="DirectoryServiceConfigInfo" msprop:Generator_ColumnPropNameInRow="DirectoryServiceConfigInfo" msprop:Generator_ChangedEventName="DirectoryServiceConfigInfoChanged" msprop:Generator_ColumnPropNameInTable="DirectoryServiceConfigInfoColumn" msprop:Generator_UserColumnName="DirectoryServiceConfigInfo" type="xs:string" minOccurs="0" />
              <xs:element name="BlockInheritance" msprop:Generator_DelegateName="BlockInheritanceChangeEventHandler" msprop:Generator_ChangingEventName="BlockInheritanceChanging" msprop:Generator_ColumnVarNameInTable="columnBlockInheritance" msprop:Generator_EventArgName="BlockInheritanceChangeEventArg" msprop:User_ColumnName="BlockInheritance" msprop:Generator_ColumnPropNameInRow="BlockInheritance" msprop:Generator_ChangedEventName="BlockInheritanceChanged" msprop:Generator_ColumnPropNameInTable="BlockInheritanceColumn" msprop:Generator_UserColumnName="BlockInheritance">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UpdSequence" msdata:ReadOnly="true" msprop:Generator_DelegateName="UpdSequenceChangeEventHandler" msprop:Generator_ChangingEventName="UpdSequenceChanging" msprop:Generator_ColumnVarNameInTable="columnUpdSequence" msprop:Generator_EventArgName="UpdSequenceChangeEventArg" msprop:User_ColumnName="UpdSequence" msprop:Generator_ColumnPropNameInRow="UpdSequence" msprop:Generator_ChangedEventName="UpdSequenceChanged" msprop:Generator_ColumnPropNameInTable="UpdSequenceColumn" msprop:Generator_UserColumnName="UpdSequence" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OrganizationTreeXLated" msdata:Locale="es-UY" msprop:Generator_SuspendValidationVarName="m_suspendValidation" msprop:Generator_RowDeletedName="OrganizationTreeXLatedRowDeleted" msprop:Generator_SuspendValidationPropName="SuspendValidation" msprop:Generator_RowChangedName="OrganizationTreeXLatedRowChanged" msprop:User_TableName="OrganizationTreeXLated" msprop:Generator_RowClassName="OrganizationTreeXLatedRow" msprop:Generator_RowChangingName="OrganizationTreeXLatedRowChanging" msprop:Generator_UserTableName="OrganizationTreeXLated" msprop:Generator_RowEvArgName="OrganizationTreeXLatedRowChangeEvent" msprop:Generator_RowEvHandlerName="OrganizationTreeXLatedRowChangeEventHandler" msprop:Generator_TableClassName="OrganizationTreeXLatedDataTable" msprop:Generator_TableVarName="tableOrganizationTreeXLated" msprop:Generator_RowDeletingName="OrganizationTreeXLatedRowDeleting" msprop:Generator_TablePropName="OrganizationTreeXLated">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NodeID" msprop:Generator_DelegateName="NodeIDChangeEventHandler" msprop:Generator_ChangingEventName="NodeIDChanging" msprop:Generator_ColumnVarNameInTable="columnNodeID" msprop:Generator_EventArgName="NodeIDChangeEventArg" msprop:User_ColumnName="NodeID" msprop:Generator_ColumnPropNameInRow="NodeID" msprop:Generator_ChangedEventName="NodeIDChanged" msprop:Generator_ColumnPropNameInTable="NodeIDColumn" msprop:Generator_UserColumnName="NodeID" type="xs:int" />
              <xs:element name="Language" msprop:Generator_DelegateName="LanguageChangeEventHandler" msprop:Generator_ChangingEventName="LanguageChanging" msprop:Generator_ColumnVarNameInTable="columnLanguage" msprop:Generator_EventArgName="LanguageChangeEventArg" msprop:User_ColumnName="Language" msprop:Generator_ColumnPropNameInRow="Language" msprop:Generator_ChangedEventName="LanguageChanged" msprop:Generator_ColumnPropNameInTable="LanguageColumn" msprop:Generator_UserColumnName="Language">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_DelegateName="NameChangeEventHandler" msprop:Generator_ChangingEventName="NameChanging" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_EventArgName="NameChangeEventArg" msprop:User_ColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ChangedEventName="NameChanged" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OrganizationTree" />
      <xs:field xpath="mstns:NodeID" />
    </xs:unique>
    <xs:unique name="OrganizationTreeXLated_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OrganizationTreeXLated" />
      <xs:field xpath="mstns:NodeID" />
      <xs:field xpath="mstns:Language" />
    </xs:unique>
    <xs:keyref name="FK__Organizat__Fathe__0AD2A005" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK__Organizat__Fathe__0AD2A005" msprop:rel_User_ParentTable="OrganizationTree" msprop:rel_Generator_RelationVarName="relationFK__Organizat__Fathe__0AD2A005" msprop:rel_Generator_ParentPropName="OrganizationTreeRowParent" msprop:rel_User_RelationName="FK__Organizat__Fathe__0AD2A005" msprop:rel_Generator_UserChildTable="OrganizationTree" msprop:rel_User_ChildTable="OrganizationTree" msprop:rel_Generator_ChildPropName="GetOrganizationTreeRows" msprop:rel_Generator_UserParentTable="OrganizationTree">
      <xs:selector xpath=".//mstns:OrganizationTree" />
      <xs:field xpath="mstns:FatherNodeID" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Translations" msdata:parent="OrganizationTree" msdata:child="OrganizationTreeXLated" msdata:parentkey="NodeID" msdata:childkey="NodeID" msprop:Generator_UserRelationName="FK_Translations" msprop:User_ParentTable="OrganizationTree" msprop:Generator_RelationVarName="relationFK_Translations" msprop:Generator_ParentPropName="OrganizationTreeRow" msprop:User_RelationName="FK_Translations" msprop:Generator_UserChildTable="OrganizationTreeXLated" msprop:User_ChildTable="OrganizationTreeXLated" msprop:Generator_ChildPropName="GetOrganizationTreeXLatedRows" msprop:Generator_UserParentTable="OrganizationTree" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>